package com.example.springbootwebsocket.config;

import org.springframework.amqp.core.Binding;
import org.springframework.amqp.core.BindingBuilder;
import org.springframework.amqp.core.Queue;
import org.springframework.amqp.core.TopicExchange;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Auther: Wangcc
 * @Date: 2019/9/29 14:53
 * @Description:
 */
@Configuration
public class SendConfig {

    @Bean("queue")
    public Queue queueMsg(){
        return new Queue("order");
    }

}
